home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / MacTechNotes / TN.201.250 / TN.228.Swapping MMU Mode / TN.228.Swapping MMU Mode.rsrc < prev    next >
MacOS Resource Fork  |  1989-04-01  |  1.4 KB  |  [DDf4/DDAP]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacOS Resource Fork (archive/rsrc).

You can browse this item here: TN.228.Swapping MMU Mode.rsrc

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert MacOS Resource Fork (archive/rsrc) magic Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert BeOS Resource Data (archive/beOSResourceData) ext Unsupported
1% dexvert AppleSingle (archive/appleSingle) fallback Supported
0% dexvert TTComp Archive (archive/ttcomp) fallback Supported
100% file AppleDouble encoded Macintosh file default
99% file data default
66% TrID Mac AppleDouble encoded default
33% TrID TTComp archive compressed (bin-2K) default (weak)
100% siegfried fmt/503 AppleDouble Resource Fork (2) default
100% lsar AppleSingle default


id metadata
keyvalue
macFileType[DDf4]
macFileCreator[DDAP]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 16 07 00 02 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 02 00 00 00 09 00 00 |........|........|
|00000020| 00 32 00 00 00 20 00 00 | 00 02 00 00 00 52 00 00 |.2... ..|.....R..|
|00000030| 05 39 44 44 66 34 44 44 | 41 50 01 00 00 00 00 00 |.9DDf4DD|AP......|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 01 00 00 00 | 04 d0 00 00 03 d0 00 00 |........|........|
|00000060| 00 69 00 00 00 01 00 00 | 00 07 00 00 00 01 00 00 |.i......|........|
|00000070| 00 01 02 00 00 07 00 00 | 07 e0 00 00 07 de 00 00 |........|........|
|00000080| 00 00 18 54 4e 2e 32 32 | 38 2e 53 77 61 70 70 69 |...TN.22|8.Swappi|
|00000090| 6e 67 20 4d 4d 55 20 4d | 6f 64 65 70 02 00 00 00 |ng MMU M|odep....|
|000000a0| 44 44 00 00 44 44 66 34 | 44 44 41 50 01 00 00 8c |DD..DDf4|DDAP....|
|000000b0| 01 20 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |. ......|........|
|000000c0| 00 00 00 00 a0 5a b5 ee | 00 00 0c 4c 00 00 05 39 |.....Z..|...L...9|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 c0 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 02 c8 54 4e | 2e 32 32 38 2e 53 77 61 |......TN|.228.Swa|
|00000160| 70 70 69 6e 67 20 4d 4d | 55 20 4d 6f 64 65 20 2d |pping MM|U Mode -|
|00000170| 20 54 68 69 73 20 54 65 | 63 68 6e 69 63 61 6c 20 | This Te|chnical |
|00000180| 4e 6f 74 65 20 64 65 73 | 63 72 69 62 65 73 20 68 |Note des|cribes h|
|00000190| 6f 77 20 74 6f 20 61 76 | 6f 69 64 20 63 72 61 73 |ow to av|oid cras|
|000001a0| 68 69 6e 67 20 77 68 65 | 6e 20 73 77 61 70 70 69 |hing whe|n swappi|
|000001b0| 6e 67 20 69 6e 74 6f 20 | 33 32 2d 62 69 74 20 6d |ng into |32-bit m|
|000001c0| 6f 64 65 20 6f 6e 20 61 | 20 4d 61 63 69 6e 74 6f |ode on a| Macinto|
|000001d0| 73 68 20 49 49 2e 20 20 | 54 68 61 6e 6b 73 20 74 |sh II. |Thanks t|
|000001e0| 6f 20 4a 69 6d 20 42 65 | 72 72 79 20 61 6e 64 20 |o Jim Be|rry and |
|000001f0| 44 61 6e 20 57 65 73 74 | 6f 6e 20 66 6f 72 20 70 |Dan West|on for p|
|00000200| 6f 69 6e 74 69 6e 67 20 | 74 68 69 73 20 6f 75 74 |ointing |this out|
|00000210| 2e 20 54 68 65 72 65 20 | 69 73 20 61 20 63 6f 6e |. There |is a con|
|00000220| 64 69 74 69 6f 6e 20 77 | 68 65 72 65 20 63 61 6c |dition w|here cal|
|00000230| 6c 69 6e 67 20 5f 53 77 | 61 70 4d 4d 55 4d 6f 64 |ling _Sw|apMMUMod|
|00000240| 65 20 74 6f 20 73 77 69 | 74 63 68 20 74 68 65 20 |e to swi|tch the |
|00000250| 4d 61 63 69 6e 74 6f 73 | 68 20 49 49 20 69 6e 74 |Macintos|h II int|
|00000260| 6f 20 33 32 2d 62 69 74 | 20 6d 6f 64 65 20 63 61 |o 32-bit| mode ca|
|00000270| 6e 20 63 61 75 73 65 20 | 74 68 65 20 73 79 73 74 |n cause |the syst|
|00000280| 65 6d 20 74 6f 20 63 72 | 61 73 68 2e 20 20 54 68 |em to cr|ash. Th|
|00000290| 69 73 20 63 6f 6e 64 69 | 74 69 6f 6e 20 68 61 70 |is condi|tion hap|
|000002a0| 70 65 6e 73 20 69 6e 20 | 63 6f 64 65 20 77 68 69 |pens in |code whi|
|000002b0| 63 68 20 69 73 20 6c 6f | 61 64 65 64 20 69 6e 74 |ch is lo|aded int|
|000002c0| 6f 20 6d 65 6d 6f 72 79 | 20 66 72 6f 6d 20 61 20 |o memory| from a |
|000002d0| 72 65 73 6f 75 72 63 65 | 2c 20 6f 72 20 69 73 20 |resource|, or is |
|000002e0| 70 6c 61 63 65 64 20 69 | 6e 20 6d 65 6d 6f 72 79 |placed i|n memory|
|000002f0| 20 74 68 61 74 20 77 61 | 73 20 61 6c 6c 6f 63 61 | that wa|s alloca|
|00000300| 74 65 64 20 62 79 20 74 | 68 65 20 4d 65 6d 6f 72 |ted by t|he Memor|
|00000310| 79 20 4d 61 6e 61 67 65 | 72 20 61 6e 64 20 69 73 |y Manage|r and is|
|00000320| 20 73 75 62 73 65 71 75 | 65 6e 74 6c 79 20 65 78 | subsequ|ently ex|
|00000330| 65 63 75 74 65 64 20 62 | 79 20 75 73 69 6e 67 20 |ecuted b|y using |
|00000340| 74 68 65 20 6d 61 73 74 | 65 72 20 70 6f 69 6e 74 |the mast|er point|
|00000350| 65 72 20 61 73 20 74 68 | 65 20 61 64 64 72 65 73 |er as th|e addres|
|00000360| 73 20 66 6f 72 20 61 20 | 4a 53 52 20 69 6e 73 74 |s for a |JSR inst|
|00000370| 72 75 63 74 69 6f 6e 2e | 20 20 54 68 69 73 20 63 |ruction.| This c|
|00000380| 6f 6e 64 69 74 69 6f 6e | 20 69 6e 63 6c 75 64 65 |ondition| include|
|00000390| 73 20 73 74 61 6e 64 2d | 61 6c 6f 6e 65 2c 20 65 |s stand-|alone, e|
|000003a0| 78 65 63 75 74 61 62 6c | 65 20 63 6f 64 65 20 72 |xecutabl|e code r|
|000003b0| 65 73 6f 75 72 63 65 73 | 20 28 69 2e 65 2e 2c 20 |esources| (i.e., |
|000003c0| 27 58 43 4d 44 27 2c 20 | 27 58 46 43 4e 27 2c 20 |'XCMD', |'XFCN', |
|000003d0| 27 49 4e 49 54 27 2c 20 | 27 41 44 42 53 27 2c 27 |'INIT', |'ADBS','|
|000003e0| 46 4b 45 59 27 2c 20 65 | 74 63 2e 29 2c 20 62 75 |FKEY', e|tc.), bu|
|000003f0| 74 20 64 6f 65 73 20 6e | 6f 74 20 61 70 70 6c 79 |t does n|ot apply|
|00000400| 20 74 6f 20 73 74 61 6e | 64 61 72 64 20 27 43 4f | to stan|dard 'CO|
|00000410| 44 45 27 20 72 65 73 6f | 75 72 63 65 73 2e 00 00 |DE' reso|urces...|
|00000420| 01 00 ff 54 4e 2e 32 32 | 38 2e 53 77 61 70 70 69 |...TN.22|8.Swappi|
|00000430| 6e 67 20 4d 4d 55 20 4d | 6f 64 65 20 2d 20 54 68 |ng MMU M|ode - Th|
|00000440| 69 73 20 54 65 63 68 6e | 69 63 61 6c 20 4e 6f 74 |is Techn|ical Not|
|00000450| 65 20 64 65 73 63 72 69 | 62 65 73 20 68 6f 77 20 |e descri|bes how |
|00000460| 74 6f 20 61 76 6f 69 64 | 20 63 72 61 73 68 69 6e |to avoid| crashin|
|00000470| 67 20 77 68 65 6e 20 73 | 77 61 70 70 69 6e 67 20 |g when s|wapping |
|00000480| 69 6e 74 6f 20 33 32 2d | 62 69 74 20 6d 6f 64 65 |into 32-|bit mode|
|00000490| 20 6f 6e 20 61 20 4d 61 | 63 69 6e 74 6f 73 68 20 | on a Ma|cintosh |
|000004a0| 49 49 2e 20 20 54 68 61 | 6e 6b 73 20 74 6f 20 4a |II. Tha|nks to J|
|000004b0| 69 6d 20 42 65 72 72 79 | 20 61 6e 64 20 44 61 6e |im Berry| and Dan|
|000004c0| 20 57 65 73 74 6f 6e 20 | 66 6f 72 20 70 6f 69 6e | Weston |for poin|
|000004d0| 74 69 6e 67 20 74 68 69 | 73 20 6f 75 74 2e 20 54 |ting thi|s out. T|
|000004e0| 68 65 72 65 20 69 73 20 | 61 20 63 6f 6e 64 69 74 |here is |a condit|
|000004f0| 69 6f 6e 20 77 68 65 72 | 65 63 61 6c 6c 69 6e 67 |ion wher|ecalling|
|00000500| 20 5f 53 77 61 70 4d 4d | 55 4d 6f 64 65 20 74 6f | _SwapMM|UMode to|
|00000510| 20 73 77 69 74 63 68 20 | 74 68 65 20 4d 61 63 69 | switch |the Maci|
|00000520| 6e 74 00 00 01 00 00 00 | 04 d0 00 00 03 d0 00 00 |nt......|........|
|00000530| 00 69 00 65 de 74 07 b8 | 00 00 00 1c 00 46 00 01 |.i.e.t..|.....F..|
|00000540| 53 69 74 43 00 00 00 12 | 46 43 4d 54 00 00 00 1e |SitC....|FCMT....|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 11 |........|........|
|00000560| 00 00 02 cc 00 66 19 54 | 10 4c 6f 6e 67 20 44 65 |.....f.T|.Long De|
|00000570| 73 63 72 69 70 74 69 6f | 6e 11 42 72 69 65 66 20 |scriptio|n.Brief |
|00000580| 44 65 73 63 72 69 70 74 | 69 6f 6e |Descript|ion |
+--------+-------------------------+-------------------------+--------+--------+